import React, { Component } from 'react';

import './index.scss';

import HeaderLogo from './LogoCon';
import HeaderTitle from './TitleCon';
import HeaderLogout from './LogoutCon';


class HeaderCon extends Component {
  constructor (props) {
    super(props)

    this.state =  {

    }
  }

  render () {
    const { history } = this.props;

    return (
      <header className="header">
        <HeaderLogo />
        <HeaderTitle />
        <HeaderLogout history ={ history} />
      </header>
    )
  }
}


export default HeaderCon;